package com.bean;

import java.util.List;

/**
* @ClassName: QueryUserBean
* @Description: TODO
* @author alterhu2020@gmail.com
* @date Feb 15, 2014 9:28:54 PM
* 
*/

public class QueryUserBean {

    
	
	
	private String from;
	private String to;
	private String traindate;
	private String strTicketType;
	
	private List<PassengerBean> passengers;
	private List<String> trainno;
	
	private List<String> traintype;
	
	
	public QueryUserBean(String from,String to,String traindate,String strTicketType,List<PassengerBean> passengers,List<String> trainno,List<String> traintype){
		this.from=from;
		this.to=to;
		this.traindate=traindate;
		this.passengers=passengers;
		this.trainno=trainno;
		this.traintype=traintype;
		this.setStrTicketType(strTicketType);
	}
	

	/** 
	* @return passengers 
	*/ 
	
	
	public List<PassengerBean> getPassengers() {
		return passengers;
	}

	/** 
	* @param passengers need to setter value: passengers 
	*/ 
	
	public void setPassengers(List<PassengerBean> passengers) {
		this.passengers = passengers;
	}

	/** 
	* @return from 
	*/ 
	
	
	public String getFrom() {
		return from;
	}

	/** 
	* @param from need to setter value: from 
	*/ 
	
	public void setFrom(String from) {
		this.from = from;
	}

	/** 
	* @return to 
	*/ 
	
	
	public String getTo() {
		return to;
	}

	/** 
	* @param to need to setter value: to 
	*/ 
	
	public void setTo(String to) {
		this.to = to;
	}

	/** 
	* @return traindate 
	*/ 
	
	
	public String getTraindate() {
		return traindate;
	}

	/** 
	* @param traindate need to setter value: traindate 
	*/ 
	
	public void setTraindate(String traindate) {
		this.traindate = traindate;
	}

	/** 
	* @return trainno 
	*/ 
	
	
	public List<String> getTrainno() {
		return trainno;
	}

	/** 
	* @param trainno need to setter value: trainno 
	*/ 
	
	public void setTrainno(List<String> trainno) {
		this.trainno = trainno;
	}

	/** 
	* @return traintype 
	*/ 
	
	
	public List<String> getTraintype() {
		return traintype;
	}

	/** 
	* @param traintype need to setter value: traintype 
	*/ 
	
	public void setTraintype(List<String> traintype) {
		this.traintype = traintype;
	}


	/** 
	* @return strTicketType 
	*/ 
	
	
	public String getStrTicketType() {
		return strTicketType;
	}


	/** 
	* @param strTicketType need to setter value: strTicketType 
	*/ 
	
	public void setStrTicketType(String strTicketType) {
		this.strTicketType = strTicketType;
	}

}
